<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>

  <title></title>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=8" />
  <link href="styles/default.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="scripts/login.js"></script>  
  <script type="text/javascript" src="scripts/date.format.js"></script> 
  <script type="text/javascript" src="scripts/appsettings.js"></script>
  <script type="text/javascript" src="scripts/devicecommands.js"></script>
  <script type="text/javascript" src="scripts/template.js"></script>
  <script type="text/javascript" src="scripts/device.js"></script>
  <script type="text/javascript" src="scripts/command.js"></script>
  <script type="text/javascript" src="sql/devicedal.js"></script>
  <script type="text/javascript" src="scripts/devicechannel.js"></script>
  <script type="text/javascript" src="sql/devicechanneldal.js"></script>
  <script type="text/javascript" src="sql/commandsdal.js"></script>
  <script type="text/javascript" src="jsolait/jsolait.js"></script>
  <script type="text/javascript" src="scripts/common.js"></script>
  <script type="text/javascript" src="scripts/validation.js"></script>
  <script type="text/javascript" src="scripts/devicetabs.js"></script>

  <!--[if (lte IE 6)|(gte IE 8)]>
  <style type="text/css">
     #outer {height:100%;display:table;}
  </style>
  <![endif]-->

</head>

<body onload="InitDeviceCommandsPage();">
<div id="outer">
<div id="inner">
<div id="header"></div>
<div id="content">
<div id="columnB"></div>
<!-- START PAGE CONTENT -->
<div id="columnA">
<h2>Device Details</h2>
		    
		    <div id="tabHeader"></div>
		    
		    <table cellpadding="0" cellspacing="0" width="900px" border="0">
            <tr align="center">
                <td width="70px" id="tab0"></td>
                <td width="60px" id="tab1"></td>
                <td width="110px" id="tab2"></td>
                <td width="120px" id="tab3"></td>
                <td width="110px" id="tab4"></td>
                <!--td width="130px" id="tab5"></td-->
                <td width="100px" id="tab6"></td>
                <td class="tabButton">&nbsp;</td>
            </tr>
            </table> 
		    <table cellpadding="0" cellspacing="0" class="containerDiv" width="900px">
	       	   <tr>
		      	 <td colspan="2" align="left">
			     	<table width="100%" cellpadding="0" cellspacing="0">
				    	<tr>								
					       	<td class="windowHeader"></td>
    					</tr>
	       			</table>
	   	       	</td>
    		  </tr>
    		  <tr>
			    <td colspan="1" class="labels" align="left">
    			   <strong>EUI-64 Address: </strong><span id="spnEUI64"></span><br />
   			   	   <strong>Nickname: </strong><span id="spnNickname"></span><br />
			    </td>
                <td colspan="1" align="right" valign="top">
                    <input type="button" id="btnBack" name="btnBack" value='Back' class="buttonFilter" onclick="BackButtonClicked();" />
		        </td>
		      </tr>
		      <tr>
		          <td colspan="2" align="center">
		              <table width="400px" class="containerDiv" cellpadding="0" cellspacing="0">
		                  <tr>
		                      <td colspan="2" class="windowHeader">
		                         Commands
		                      </td>
		                  </tr>
		            	  <tr>
               			      <td class="spacer" colspan="2"></td>
                  		  </tr>
           		  		  <tr>
                          	<td class="labels" align="left" colspan="2">
            	       			Command &nbsp;.......................&nbsp;<select id="ddlCommands" name="ddlCommands" class="dropdown" onchange="CommandSelectionChanged();" style="width: 200px;"> <option /> </select>&nbsp;
                  			</td>
                	      </tr>
                		
                	      <tr>
			                 <td class="labels" align="left" colspan="2">
			                    <span id="spnDeviceVariable" style="display:none;"> 
				                Device Variable &nbsp;..............&nbsp;
								    <input type="text" id="txtDeviceVariable" class="inputText" style="width:196px;"/>
                 			    </span>
								<span id="spnBypassIOCache" style="display:none" > 
                                BypassIOCache &nbsp;..............&nbsp;
                                   <select id="ddlBypassIOCache" name="ddlBypassIOCache" class="dropdown" style="width:200px;">
								   <option id="yes" value="1">Yes</option> 
								   <option id="no" value="0">No</option>
								   </select>
                                </span>
			                    <span id="spnCommandNo" style="display:none;"> 
				                	CommandNo &nbsp;..................&nbsp;
                                    <input type="text" id="txtCommandNo" name="txtCommandNo"  class="inputText" style="width:196px;"/><br />
                                    Command (hex) &nbsp;.............&nbsp;								             				       
									<textarea id="txtCommandHex" maxlength="200" class="inputText" rows="3" style="width: 196px;"></textarea>
                 			    </span>
									
        				        <span id="spnRestartType" style="display:none;"> 
				                Restart Type &nbsp;....................&nbsp;<select id="ddlRestartType" name="ddlRestartType" class="dropdown" style="width:200px;"> <option /> </select>
                                </span>        				       
                              </td>
                          </tr>
                          
                          <tr>
			                 <td colspan="2" align="left">
                				<table width="100%" cellpadding="0" cellspacing="0">
				        	<tr>								
						<td colspan='2' align='center'>
					       <input type="button" id="btnExecute" name="btnExecute" value='Execute' class="button" onclick="ExecuteCommand();" />
					   	   <input type="button" id="btnCancel" name="btnCancel" value='Cancel' class="button" onclick="CancelClicked();" />
					    </td>
					</tr>
            		<tr>
			             <td colspan="2" align="center">
                		      <span id="spnExecuteResult"></span>
                        </td>
            		</tr>
         			<tr>
		              	<td class="spacer" colspan="2"></td>
            		</tr>
				</table>
			</td>
		</tr>
                		
                		
                      </table>
                      <br />
		          </td>
		      </tr>		      
		    </table>
		    
		  	</div>
		  	
        <!-- END PAGE CONTENT -->

        </div>
    </div>
</div>

<div id="footer"></div>

</body>
</html>
